<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml" omit-xml-declaration = "yes" indent="yes" version="4.0"/>
	<!--
	Copyright (C) 2004,2005 AspSky.Net. All rights reserved.
	Written by dvbbs.net Lao Mi
	Web: http://www.aspsky.net/,http://www.dvbbs.net/
	Email: eway@aspsky.net
	-->
<xsl:template  match="/">

	<xsl:variable name="myscript"><![CDATA[
<script type="text/javascript" language="javascript">
<!-- ==================[ Ϣ ]================== -->
<!-- ==================[  ΪĲ㣬 ii<=4]================== -->
function show1(num,sss) {
	for (ii=1;ii<=4;ii++) 
	{
	eval("d1"+sss+ii).style.display="none";
	eval("bt1"+sss+ii).style.background = "url('images/i_bt_off.gif')";
	}
	eval("d1"+sss+num).style.display="";
	eval("bt1"+sss+num).style.background = "url('images/i_bt_on.gif')";
}
<!-- ==================[ Ϣ ]================== -->
function astro(birth)
{
	if (birth!='')
	{	var tmpstr;
		var bstr;
		var mm;
		var yy;
		var dd;
		var birthmonth;
		tmpstr=birth.split(' ')
		bstr=tmpstr[0]
		tmpstr=bstr.split('-')
		yy=(tmpstr[0]*1)
		mm=(tmpstr[1]*1)
		dd=(tmpstr[2]*1)
		switch(mm){
		case 1 :
		if(dd>=21){return('<img src=Skins/Default/birth/z11.gif alt=ˮƿ'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z10.gif alt=ħ'+mm+'-'+dd+'>');}
		break;
		case 2 :
		if(dd>=20){return('<img src=Skins/Default/birth/z12.gif alt=˫'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z11.gif alt=ˮƿ'+mm+'-'+dd+'>');}
		break;
		case 3 :
		if(dd>=21){return('<img src=Skins/Default/birth/z1.gif alt='+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z12.gif alt=˫'+mm+'-'+dd+'>');}
		break;
		case 4 :
		if(dd>=21){return('<img src=Skins/Default/birth/z2.gif alt=ţ'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z1.gif alt='+mm+'-'+dd+'>');}
		break;
		case 5 :
		if(dd>=22){return('<img src=Skins/Default/birth/z3.gif alt=˫'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z2.gif alt=ţ'+mm+'-'+dd+'>');}
		break;
		case 6 :
		if(dd>=22){return('<img src=Skins/Default/birth/z4.gif alt=з'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z3.gif alt=˫'+mm+'-'+dd+'>');}
		break;
		case 7 :
		if(dd>=23){return('<img src=Skins/Default/birth/z5.gif alt=ʨ'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z4.gif alt=з'+mm+'-'+dd+'>');}
		break;
		case 8 :
		if(dd>=24){return('<img src=Skins/Default/birth/z6.gif alt=Ů'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z5.gif alt=ʨ'+mm+'-'+dd+'>');}
		break;
		case 9 :
		if(dd>=24){return('<img src=Skins/Default/birth/z7.gif alt='+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z6.gif alt=Ů'+mm+'-'+dd+'>');}
		break;
		case 10 :
		if(dd>=24){return('<img src=Skins/Default/birth/z8.gif alt=Ы'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z7.gif alt='+mm+'-'+dd+'>');}
		break;
		case 11 :
		if(dd>=23){return('<img src=Skins/Default/birth/z9.gif alt='+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z8.gif alt=Ы'+mm+'-'+dd+'>');}
		break;
		case 12 :
		if(dd>=22){return('<img src=Skins/Default/birth/z10.gif alt=ħ'+mm+'-'+dd+'>');}
		else{return('<img src=Skins/Default/birth/z9.gif alt='+mm+'-'+dd+'>');}
		break;
		default : return('');
}
	}else{return('');}
}
function MM_showHideLayers() { //v6.0

  var i,p,v,obj,args=MM_showHideLayers.arguments;
  obj=document.getElementById("MagicFace");
  for (i=0; i<(args.length-2); i+=3) if (obj) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function DispMagicEmot(MagicID,H,W){
	MagicFaceUrl = "Dv_plus/tools/magicface/swf/" + MagicID + ".swf";
	document.getElementById("MagicFace").innerHTML = '<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + W + '" height="' + H + '"><PARAM NAME=movie VALUE="'+ MagicFaceUrl +'"><param name=menu value=false><PARAM NAME=quality VALUE=high><PARAM NAME=play VALUE=false><param name="wmode" value="transparent"><embed src="' + MagicFaceUrl +'" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + W + '" height="' + H + '"></embed>';
	document.getElementById("MagicFace").style.top = '250px';
	document.getElementById("MagicFace").style.left = '250px';
	document.getElementById("MagicFace").style.visibility = 'visible';
	MagicID += Math.random();
	setTimeout("MM_showHideLayers('MagicFace','','hidden')",5000);
	NowMeID = MagicID;
}
function LoadMagicEmot(MagicID,topicid){
var cookiesstr=readCookie('mofaface_'+ topicid);
if (cookiesstr ==null){
createCookie('mofaface_'+ topicid,MagicID,365)
DispMagicEmot(MagicID,350,500)
}
}
</script>
<script language="VBScript">
Function GetActivePic(RLActiveValue,RLActiveMax,RL_Setting)
Dim PicStr
RL_Setting = Split(RL_Setting,"$$")
PicStr = "<img src="""&RL_Setting(2)&""" width="""&CStr(50*RLActiveValue\RLActiveMax)&""" height=""10"" border=""0"" alt=""Ծ:"& RLActiveValue&"""><img src="""&RL_Setting(3)&""" width="""&CSTR(50*(RLActiveMax-RLActiveValue)\RLActiveMax)&""" height=""10"" border=""0"" alt=""Ծ:"&RLActiveValue&""">"
GetActivePic = PicStr
End Function

Function GetOnlineClassPic(RL_ActTimeT,RL_Setting)
Dim RL_UserClass,RL_NextClassNeed,RL_Str,TempStr,i

RL_UserClass = 0
RL_NextClassNeed = 0
RL_Setting = Split(RL_Setting,"$$")
For i=1 to 100
  if RL_ActTimeT \ 60 < CLng(RL_Setting(1))*i*i + CLng(RL_Setting(0))*i then 
   RL_NextClassNeed = (CLng(RL_Setting(1))*i*i + CLng(RL_Setting(0))*i)*60 - RL_ActTimeT
   Exit For
  end if

  RL_UserClass = RL_UserClass + 1
  
Next


RL_Str = ""

TempStr = ":"&RL_ActTimeT \ 60&"Сʱ"&RL_ActTimeT mod 60&".&#13&#10"&RL_NextClassNeed\60&"Сʱ"&RL_NextClassNeed mod 60&".&#13&#10Ŀǰȼ:"&RL_UserClass&""
   
if RL_UserClass = 0 then
  RL_Str = RL_Str & "<img src=""Images/noclass.gif"" alt="""&TempStr&""">"
end if


For i=1 to RL_UserClass \ 16
  RL_Str = RL_Str & "<img src=""Images/time_sun.gif"" alt="""&TempStr&""">"
Next
RL_UserClass = RL_UserClass mod 16

For i=1 to RL_UserClass \ 4
  RL_Str = RL_Str & "<img src=""Images/time_yueliang.gif"" alt="""&TempStr&""">"
Next
RL_UserClass = RL_UserClass mod 4

For i=1 to RL_UserClass
  RL_Str = RL_Str & "<img src=""Images/time_star.gif"" alt="""&TempStr&""">"
Next

GetOnlineClassPic = RL_Str
End Function


</script>
	]]>
	</xsl:variable>
	<!--жǷIEӦstyleclass-->
<xsl:variable name="postclass">
<xsl:choose>
		<xsl:when test="post/agent/@browser='Microsoft Internet Explorer'">postie</xsl:when>
		<xsl:otherwise>post</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="bodystyle">
<xsl:choose>
		<xsl:when test="post/agent/@browser='Microsoft Internet Explorer'">height:310px;width:97%;padding-right:0px; overflow-x: hidden;</xsl:when>
		<xsl:otherwise>min-height:310px;</xsl:otherwise>
</xsl:choose>font-size:<xsl:value-of select="post/setting/@fontsize" />pt;line-height:<xsl:value-of select="post/setting/@lineheight" />;text-indent:24px;</xsl:variable>
<!--end -->
<xsl:variable name="mofaface"><xsl:if test="contains(post/postinfo/@expression,'|')"><xsl:value-of select="substring-before(post/postinfo/@expression,'|')" /></xsl:if></xsl:variable>
<div id="MagicFace" style="position:absolute;z-index : 99;visibility:hidden; "></div>
<xsl:value-of select="$myscript" disable-output-escaping="yes" />
<div class="main" style="margin-top:4px;height:28px;line-height:28px;margin-bottom:4px;"> <div class="posttopic" title="һ" onclick="location.href='post.asp?action=new&amp;boardid={post/postinfo/@boardid}'"></div>
			<xsl:if test="/post/setting/@postalipay=1">
				<div class="postalipay" title="һòƸͨ׵ĽƸͨбϣѡȫݣ" onclick="location.href='post.asp?action=new&amp;boardid={post/postinfo/@boardid}&amp;stype=1'"></div>
			</xsl:if>
			<div class="postvote" title="һͶƱ" onclick="location.href='post.asp?action=vote&amp;boardid={post/postinfo/@boardid}'"></div>
			<xsl:choose>
				<xsl:when test="post/postinfo/@postuserid =0">
					<div class="repost" title="ظ" onclick="location.href='post.asp?action=re&amp;boardid={post/postinfo/@boardid}&amp;id={post/postinfo/@topicid}&amp;star={post/postinfo/@star}&amp;page={post/postinfo/@page}&amp;guest=true'"></div>
				</xsl:when>
				<xsl:otherwise>
					<div class="repost" title="ظ" onclick="location.href='post.asp?action=re&amp;boardid={post/postinfo/@boardid}&amp;id={post/postinfo/@topicid}&amp;star={post/postinfo/@star}&amp;page={post/postinfo/@page}'"></div>
				</xsl:otherwise>
			</xsl:choose>
			<div style="float:right;">Ǳĵ <b><xsl:value-of select="post/postinfo/@hits"/></b> Ķ</div><div style="float:right;"><script language="javascript" src="z_wangzhai.js"></script>
</div>
</div>
<xsl:if test="/post/postinfo/@isvote=1"><xsl:call-template name="showvote" /></xsl:if>
<div class="th">
<div style="text-align : right;float:right;">
<xsl:choose>
		<xsl:when test="post/postinfo/@skin !=1"><a href="?BoardID={post/postinfo/@boardid}&amp;replyID={post/postinfo/@replyid}&amp;id={post/postinfo/@topicid}&amp;skin=1" title="ʾ" style="margin-right: 10px;font-weight : normal ; "></a> </xsl:when>
		<xsl:otherwise>
		<a href="?BoardID={post/postinfo/@boardid}&amp;replyID={post/postinfo/@replyid}&amp;id={post/postinfo/@topicid}&amp;skin=0" title="ƽʾ" style="margin-right: 10px;font-weight : normal ; ">ƽ</a> 
		</xsl:otherwise>
</xsl:choose>
<a href="TopicOther.asp?t=5&amp;BoardID={post/postinfo/@boardid}&amp;id={post/postinfo/@topicid}" target="_blank" title="ӡ" style="margin-right: 10px;font-weight : normal ;  ">ӡ</a>
<xsl:if test="post/userinfo/@userid !=0 "> 
<a href="favlist.asp?action=add&amp;BoardID={post/postinfo/@boardid}&amp;id={post/postinfo/@topicid}" title="̳ղؼ" style="margin-right: 10px;font-weight : normal ; ">ղ</a> 
<xsl:if test="post/setting/@cansendmail =1 "> 
<a href="TopicOther.asp?t=7&amp;BoardID={post/postinfo/@boardid}&amp;id={post/postinfo/@topicid}" title="Ƽ" style="margin-right: 10px;font-weight : normal; ">Ƽ</a> 
</xsl:if>
<a href="admin_postings.asp?action=޸&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="޸ӵĻظʱ䡣" style="margin-right: 10px;font-weight : normal; ">޸</a>
</xsl:if>
</div>
<div style="height:24px;float:left;text-indent:10px;">⣺<xsl:choose>
		<xsl:when test="post/postinfo/@topicmode=0"><xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes"/></xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 1"><xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes" /></xsl:when>
		<xsl:otherwise><xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 2"><font color="red"><xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes"/></font></xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 3"><font color="blue"><xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes"/></font></xsl:when>
		<xsl:otherwise><xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 4"><font color="green"><xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes"/></font></xsl:when>
		<xsl:otherwise><xsl:value-of select="post/postinfo/@title"/></xsl:otherwise>
</xsl:choose></xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
<xsl:for-each select="post/row">
<Script Language="javascript" Src="Dv_Plus/Avatar/Plus_Avatar_Show.js"></Script>
<a name="{@announceid}" >
</a>
<xsl:variable name="userid" select="@postuserid"/>
<div class="postlary{2 - (position() mod 2)}">
<div class="postuserinfo">
<div style="padding: 10px 0px 0px 5px;line-height:30px;height:30px;">
<table width="178" height="80"  border="0" cellpadding="0" cellspacing="0" style="background-image: url(images/human.gif);background-repeat: no-repeat;background-position: center;">
  <tr valign="middle"><td><table width="160" height="40"  border="0" cellpadding="0" cellspacing="0" align="center">
  <tr valign="middle">

    <td rowspan="2"><xsl:variable name="userface" select="/post/userlist/user[@userid=$userid]/@userface"/><xsl:choose>
		<xsl:when test="contains($userface,'|')">
		<div><img src="{substring-after($userface,'|')}"  alt="" width="32" height="32"/></div>
		</xsl:when>
		<xsl:otherwise><div><img  src="{$userface}"  alt="" width="32" height="32"/></div></xsl:otherwise>
</xsl:choose></td>
<td><xsl:value-of select="substring-before(/post/userlist/user[@userid=$userid]/@namestyle,'')" disable-output-escaping="yes"/><xsl:value-of select="@username" /><xsl:value-of select="substring-after(/post/userlist/user[@userid=$userid]/@namestyle,'')" disable-output-escaping="yes"/></td>
<td><xsl:choose>
<xsl:when test="/post/userlist/user[@userid=$userid]/@userhidden='1'">
<xsl:choose>
<xsl:when test="/post/userlist/user[@userid=$userid]/@usersex!='1'">
<img src="{/post/setting/@picurl}ofFeMale.gif" alt="ŮѽߣԸҰɣ"/>
</xsl:when> 
<xsl:otherwise>
<img src="{/post/setting/@picurl}ofMale.gif" alt="˧Ӵߣ"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when> 
<xsl:otherwise>
<xsl:choose>
<xsl:when test="/post/userlist/user[@userid=$userid]/@usersex!='1'">
<img src="{/post/setting/@picurl}FeMale.gif" alt="ŮѽߣҰɣ"/>
</xsl:when> 
<xsl:otherwise>
<img src="{/post/setting/@picurl}Male.gif" alt="˧Ӵߣ"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</td></tr><tr>
 <td><img style="margin:0px 0px 0px 0px;" src="{/post/setting/@picurl}star/{/post/userlist/user[@userid=$userid]/@titlepic}"/></td>
<td><script type="text/javascript" language="javascript">document.write (astro('<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userbirthday"/>'));</script></td></tr></table></td></tr></table>
</div>
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ ĸͼ ]================== -->
                       <TABLE height="196" cellSpacing="0" cellPadding="0" 
width="174" align="center" border="0">
                          <TBODY>
                          <TR>
                            <TD height="3"></TD>
                            <TD align="middle" width="151" background="images/i_bg.gif" colSpan="5" height="230" rowSpan="11">
	<!-- ==================[ ע⣺rowSpan ͼΪ7Ϊ9ĸΪ11]================== -->
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ һͼ ]================== -->
                              <DIV id="d1{position()}1">
<xsl:variable name="UserIsAva">
		<xsl:choose>
		<xsl:when test="/post/setting/@avatarsetting='0' and (/post/userlist/user[@userid=$userid]/@userisava='1' or /post/AvatarInfo/@AllowFace='0')">1</xsl:when>
		<xsl:otherwise>0</xsl:otherwise>
		</xsl:choose>
		</xsl:variable>
		<xsl:variable name="UserAvaSetting">
		<xsl:choose>
		<xsl:when test="$UserIsAva='1' and /post/userlist/user[@userid=$userid]/@useravasetting=''">
			<xsl:choose>
			<xsl:when test="/post/userlist/user[@userid=$userid]/@usersex!='0'"><xsl:value-of select="/post/AvatarInfo/@DefaultAvatarBoy"/></xsl:when>
			<xsl:otherwise><xsl:value-of select="/post/AvatarInfo/@DefaultAvatarGirl"/></xsl:otherwise>
			</xsl:choose>
		</xsl:when>
		<xsl:otherwise><xsl:value-of select="/post/userlist/user[@userid=$userid]/@useravasetting"/></xsl:otherwise>
		</xsl:choose>
		</xsl:variable>
		<xsl:choose>
		<xsl:when test="contains($userface,'|')">
			<xsl:choose>
			<xsl:when test="/post/setting/@avatarsetting='0' and $UserIsAva='1'">
				<xsl:choose>
				<xsl:when test="/post/userinfo/@userid!=$userid"><script type="text/javascript" language="javascript">DvbbsShowAvatar('<xsl:value-of select="$UserAvaSetting"/>','<xsl:value-of select="/post/AvatarInfo/@IsAllow"/>','<xsl:value-of select="$UserIsAva"/>','<xsl:value-of select="/post/setting/@avatarmode"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarWidth"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarHeight"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight2"/>','&amp;nbsp;&amp;nbsp;&lt;img src=&quot;<xsl:value-of select="substring-after($userface,'|')"/>&quot; width=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userwidth"/>&quot; height=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userheight"/>&quot;&gt;','<xsl:value-of select="/post/AvatarInfo/@LocalPic"/>','<xsl:value-of select="/post/AvatarInfo/@PicPath"/>','0','0','<xsl:value-of select="@username"/>','<xsl:value-of select="@username"/>');</script></xsl:when>
				<xsl:otherwise><script type="text/javascript" language="javascript">DvbbsShowAvatar('<xsl:value-of select="$UserAvaSetting"/>','<xsl:value-of select="/post/AvatarInfo/@IsAllow"/>','<xsl:value-of select="$UserIsAva"/>','<xsl:value-of select="/post/setting/@avatarmode"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarWidth"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarHeight"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight2"/>','&amp;nbsp;&amp;nbsp;&lt;img src=&quot;<xsl:value-of select="substring-after($userface,'|')"/>&quot; width=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userwidth"/>&quot; height=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userheight"/>&quot;&gt;','<xsl:value-of select="/post/AvatarInfo/@LocalPic"/>','<xsl:value-of select="/post/AvatarInfo/@PicPath"/>','0','0','','');</script></xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise><div><img src="{substring-after($userface,'|')}"  alt="" width="{/post/userlist/user[@userid=$userid]/@userwidth}" height="{/post/userlist/user[@userid=$userid]/@userheight}"/></div></xsl:otherwise>
			</xsl:choose>
		</xsl:when>
		<xsl:otherwise>
			<xsl:choose>
			<xsl:when test="/post/setting/@avatarsetting='0' and $UserIsAva='1'">
				<xsl:choose>
				<xsl:when test="/post/userinfo/@userid!=$userid"><script type="text/javascript" language="javascript">DvbbsShowAvatar('<xsl:value-of select="$UserAvaSetting"/>','<xsl:value-of select="/post/AvatarInfo/@IsAllow"/>','<xsl:value-of select="$UserIsAva"/>','<xsl:value-of select="/post/setting/@avatarmode"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarWidth"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarHeight"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight2"/>','&amp;nbsp;&amp;nbsp;&lt;img src=&quot;<xsl:value-of select="$userface"/>&quot; width=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userwidth"/>&quot; height=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userheight"/>&quot;&gt;','<xsl:value-of select="/post/AvatarInfo/@LocalPic"/>','<xsl:value-of select="/post/AvatarInfo/@PicPath"/>','0','0','<xsl:value-of select="@username"/>','<xsl:value-of select="@username"/>');</script></xsl:when>
				<xsl:otherwise><script type="text/javascript" language="javascript">DvbbsShowAvatar('<xsl:value-of select="$UserAvaSetting"/>','<xsl:value-of select="/post/AvatarInfo/@IsAllow"/>','<xsl:value-of select="$UserIsAva"/>','<xsl:value-of select="/post/setting/@avatarmode"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarWidth"/>','<xsl:value-of select="/post/AvatarInfo/@AvatarHeight"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight1"/>','<xsl:value-of select="/post/AvatarInfo/@InnerLeft2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerTop2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerWidth2"/>','<xsl:value-of select="/post/AvatarInfo/@InnerHeight2"/>','&amp;nbsp;&amp;nbsp;&lt;img src=&quot;<xsl:value-of select="$userface"/>&quot; width=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userwidth"/>&quot; height=&quot;<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userheight"/>&quot;&gt;','<xsl:value-of select="/post/AvatarInfo/@LocalPic"/>','<xsl:value-of select="/post/AvatarInfo/@PicPath"/>','0','0','','');</script></xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise><div><img src="{$userface}"  alt="" width="{/post/userlist/user[@userid=$userid]/@userwidth}" height="{/post/userlist/user[@userid=$userid]/@userheight}"/></div></xsl:otherwise>
			</xsl:choose>
		</xsl:otherwise>
		</xsl:choose></DIV>
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ ڶͼ ]================== -->	
 <DIV id="d1{position()}2" style="DISPLAY: none">
<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK:break-all" height="226" cellSpacing="0" cellPadding="2" width="140" align="center" border="0" valign="top">
<TR vAlign="top">
<TD align="left"><table border="0" width="140" id="table1" cellspacing="0" cellpadding="0">
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><xsl:variable name="usertitle" select="/post/userlist/user[@userid=$userid]/@usertitle"/>
<div><IMG src="images/qianmian1.gif"/>ͷΣ<xsl:choose>
		<xsl:when test="$usertitle =''"><a href="mymodify.asp" title="Լͷ" target="_blank">ͷ</a></xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="/post/userlist/user[@userid=$userid]/@usertitle != ''"><xsl:value-of select="/post/userlist/user[@userid=$userid]/@usertitle"/></xsl:when>
		<xsl:otherwise><a href="mymodify.asp" title="Լͷ" target="_blank">ͷ</a></xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian.gif"/>ȼ<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userclass"/></div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><xsl:variable name="userpower" select="/post/userlist/user[@userid=$userid]/@userpower"/>
<div><IMG src="images/qianmian1.gif"/><xsl:choose>
		<xsl:when test="$userpower =''">Ϊ</xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="/post/userlist/user[@userid=$userid]/@userpower != 0">ֻ<font color="red"><b><xsl:value-of select="/post/userlist/user[@userid=$userid]/@userpower"/></b></font>㰡</xsl:when>
		<xsl:otherwise>Ϊ</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian.gif"/>£<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userpost"/>ƪ,<font class="redfont"><xsl:value-of select="/post/userlist/user[@userid=$userid]/@userisbest" /></font>ƪ</div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian1.gif"/>飺<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userep"/></div></td>
	
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian1.gif"/>ң<xsl:value-of select="/post/userlist/user[@userid=$userid]/@usermoney"/>ö</div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian.gif"/>ֽ<xsl:value-of select="/post/userlist/user[@userid=$userid]/@userwealth"/>Ԫ</div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian1.gif"/><xsl:value-of select="/post/userlist/user[@userid=$userid]/@userticket"/></div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><xsl:variable name="groupname" select="/post/userlist/user[@userid=$userid]/@usergroup"/>
<div><IMG src="images/qianmian.gif"/>ߵȼ<xsl:value-of select="/post/userlist/user[@userid=$userid]/@rlacttimet" disable-output-escaping="yes" />
</div> </td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><xsl:variable name="userbirthday" select="/post/userlist/user[@userid=$userid]/@userbirthday"/>
<div><IMG src="images/qianmian.gif"/>Ȧӣ<a href="IndivGroup_List.asp?action=usergrouplist&amp;userid={$userid}">Ȧ</a></div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
		<tr>
			<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian1.gif"/><xsl:text disable-output-escaping="yes" ></xsl:text><xsl:text disable-output-escaping="yes" ></xsl:text>QQռ䣺
      <xsl:if test="/post/userlist/user[@userid=$userid]/@oicq!=''">
      <xsl:text disable-output-escaping="yes" > </xsl:text>
<a href="http://{/post/userlist/user[@userid=$userid]/@oicq}.qzone.qq.com" title="{@UserName}[{/post/userlist/user[@userid=$userid]/@oicq}]QQռ--ǵòȲŶ" target="_blank"><img src="../images/qzone.gif" border="0" align="absmiddle"/></a>
      </xsl:if>
      <xsl:if test="/post/userlist/user[@userid=$userid]/@oicq=''">
      <a href="modifyadd.asp" title="дQQ"><font color="#CC00FF">ǼQQռ</font></a>
      </xsl:if> </div></td>
		</tr>
		<tr>
			<td background="images/line1.gif" height="1"></td>
		</tr>
                   <tr>

<td height="18" onmouseover="this.style.backgroundColor='#CAE4FF';" onmouseout="this.style.backgroundColor=''"><div><IMG src="images/qianmian1.gif"/>ע᣺<xsl:value-of select="/post/userlist/user[@userid=$userid]/@joindate"/></div></td>
</tr>

	</table></TD></TR>
</TABLE></DIV>                             
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ ͼ ]================== -->	
 <DIV id="d1{position()}3" style="DISPLAY: none">
                              <TABLE 
                              style="TABLE-LAYOUT: fixed; WORD-BREAK:break-all" height="226" cellSpacing="0" cellPadding="2" 
width="140" align="center" border="0" valign="top">
                                <TBODY>
                                <TR vAlign="top">
                                <TD><xsl:value-of select="/post/userlist/user[@userid=$userid]/@UserPet" disable-output-escaping="yes" />


<xsl:value-of select="@UserPet" disable-output-escaping="yes" /><br/>
<br /><xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</xsl:text><span style="cursor:hand" title="ʾ/ " onclick="draw(none{position()},block{position()})" id="block{position()}" user="{@username}">
[<font color="blue">ʾ</font>]</span>
<br /><span id="none{position()}" style="display:none"></span>
<script src="LJR_plus/LJR_pet/LJR_pet_Load.js"></script><script>draw(none<xsl:value-of select="position()"/>,block<xsl:value-of select="position()"/>);</script>


</TD></TR></TBODY></TABLE></DIV>      
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ ĸͼ ]================== -->
 <DIV id="d1{position()}4" style="DISPLAY: none">
                              <TABLE 
                              style="TABLE-LAYOUT: fixed; WORD-BREAK:break-all" height="226" cellSpacing="0" cellPadding="2" 
width="140" align="center" border="0" valign="top">
                                <TBODY>
                                <TR vAlign="top">
                                <TD align="center" valign="center">
<font color="green"><b>̳Աѫ</b></font>

		<xsl:text disable-output-escaping="yes" >  </xsl:text><xsl:text disable-output-escaping="yes" >  </xsl:text>
<xsl:if test="/post/userlist/user[@userid=$userid]/@RLXZPIC1 != ''">
<img src="plus/xzplus/pic/{/post/userlist/user[@userid=$userid]/@RLXZPIC1}" alt="{/post/userlist/user[@userid=$userid]/@RLXZTitle1}"/>
            </xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@RLXZPIC2 != ''">
<img src="plus/xzplus/pic/{/post/userlist/user[@userid=$userid]/@RLXZPIC2}" alt="{/post/userlist/user[@userid=$userid]/@RLXZTitle2}"/>
            </xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@RLXZPIC3 != ''">
<img src="plus/xzplus/pic/{/post/userlist/user[@userid=$userid]/@RLXZPIC3}" alt="{/post/userlist/user[@userid=$userid]/@RLXZTitle3}"/>
            </xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@RLXZPIC4 != ''">
<img src="plus/xzplus/pic/{/post/userlist/user[@userid=$userid]/@RLXZPIC4}" alt="{/post/userlist/user[@userid=$userid]/@RLXZTitle4}"/>
            </xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@RLXZPIC5 != ''">
<img src="plus/xzplus/pic/{/post/userlist/user[@userid=$userid]/@RLXZPIC5}" alt="{/post/userlist/user[@userid=$userid]/@RLXZTitle5}"/>
            </xsl:if>

</TD></TR></TBODY></TABLE></DIV></TD></TR>
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ һť ]================== -->	
                          <TR>
                            <TD 
                            background="images/i_bt_none.gif" 
                            height="4"></TD></TR>
                          <TR>
                            <TD id="bt1{position()}1" style="CURSOR: hand" 
onclick="show1(1,{position()})"  align="middle" width="23" background="images/i_bt_on.gif" height="50"><BR/><BR/></TD></TR>
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ ڶť ]================== -->
                          <TR>
                            <TD 
                            background="images/i_bt_none.gif" 
                            height="3"></TD></TR>
                          <TR>
                            <TD id="bt1{position()}2" style="CURSOR: hand" 
onclick="show1(2,{position()})"
                            align="middle" 
                            background="images/i_bt_off.gif" 
                            height="50"><BR/><BR/></TD></TR>
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ ť ]================== -->
                          <TR>
                            <TD 
                            background="images/i_bt_none.gif" 
                            height="3"></TD></TR>
                          <TR>
                            <TD id="bt1{position()}3" style="CURSOR: hand" 
onclick="show1(3,{position()})" 
                            align="middle" 
                            background="images/i_bt_off.gif" 
                            height="50"><BR/><BR/></TD></TR>
	<!-- ==================[ Ϣ ]================== -->
	<!-- ==================[ ĸť ]================== -->
                          <TR>
                            <TD 
                            background="images/i_bt_none.gif" 
                            height="3"></TD></TR>
                          <TR>
                            <TD id="bt1{position()}4" style="CURSOR: hand" 
onclick="show1(4,{position()})" 
                            align="middle" 
                            background="images/i_bt_off.gif" 
                            height="50">ѫ<BR/><BR/></TD></TR>
                          <TR>
                            <TD 
                            background="images/i_bt_none.gif" 
                            height="17"></TD></TR>
                          <TR>
                            <TD height="3"></TD></TR></TBODY></TABLE>
</div>
<div class="{$postclass}">
<div>
<div style="float:right;">
<xsl:if test="/post/setting/@isboke=1"><a href="favlist.asp?action=boke&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}" title="¼ҵĲ" target="_blank"><img src="{/post/setting/@picurl}bokefav.gif"  border="0" align="middle" /></a> </xsl:if>
<xsl:choose>
		<xsl:when test="/post/postinfo/@skin !=1">
		<xsl:choose>
		<xsl:when test="/post/postinfo/@star =1">
		<xsl:choose>
		<xsl:when test="position()=1"><span name="std_floor"></span>¥</xsl:when>
		<xsl:otherwise><span name="std_floor"></span> <font color="red"><xsl:value-of select="position()"/></font> ¥</xsl:otherwise>
</xsl:choose>
		</xsl:when>
		<xsl:otherwise>	<span name="std_floor"></span> <font color="red"><xsl:value-of select="position() + (/post/postinfo/@star -1) * /post/setting/@pagesize"/></font> ¥</xsl:otherwise>
</xsl:choose>
		</xsl:when>
		<xsl:otherwise><xsl:value-of select="' '"/></xsl:otherwise>
</xsl:choose>
</div>
<xsl:if test="/post/setting/@upostalipay=1">
<a href="https://www.alipay.com/payto:{/post/userlist/user[@userid=$userid]/@useremail}&amp;partner=2088002048522272" target="_blank"><img alt="֧{@username}Ʒ֧ѡȫݣ" border="0" src="{/post/setting/@picurl}alipay_s.gif"  align="middle"/></a> 
</xsl:if>
<xsl:if test="/post/setting/@isboke=1"><a href="boke.asp?UserID={@postuserid}" title="{@username}ĸ˲" target="_blank"><img src="{/post/setting/@picurl}boke.gif"  border="0" align="middle" /></a> </xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@oicq !=''">
 <a href="http://wpa.qq.com/msgrd?V=1&amp;Uin={/post/userlist/user[@userid=$userid]/@oicq}&amp;Site=By Dvbbs&amp;Menu=yes" title="QQϢ{@username}" target="_blank"><img src="http://wpa.qq.com/pa?p=1:{/post/userlist/user[@userid=$userid]/@oicq}:4" border="0" width="16" height="16" align="middle"/></a> QQ 
</xsl:if>
<xsl:if test="/post/userinfo/@userid  !=0"><a href="messanger.asp?action=new&amp;touser={@username}" target="_blank"><img src="{/post/setting/@picurl}message.gif" border="0" alt="{@username}һϢ" align="middle" /></a> 
<a href="friendlist.asp?action=addF&amp;myFriend={@username}" target="_blank"><img src="{/post/setting/@picurl}friend.gif" border="0" alt="{@username}" align="middle" /></a> 
<a href="dispuser.asp?id={@postuserid}" target="_blank"><img src="{/post/setting/@picurl}profile.gif" border="0" alt="鿴{@username}ĸ" align="middle" /></a> 
<a href="query.asp?stype=1&amp;nSearch=3&amp;keyword={@username}&amp;BoardID={/post/postinfo/@boardid}&amp;SearchDate=ALL" target="_blank"><img src="{/post/setting/@picurl}find.gif" border="0" alt="{@username}{/post/postinfo/@boardtype}" align="middle"/></a>
</xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@useremail !=''"><a href="mailto:{/post/userlist/user[@userid=$userid]/@useremail}"><img alt="﷢͵ʼ{@username}" border="0" src="{/post/setting/@picurl}email.gif" align="middle" /></a> </xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@homepage !=''"><a href="{/post/userlist/user[@userid=$userid]/@homepage}" target="_blank"><img alt="{@username}ҳ" border="0" src="{/post/setting/@picurl}homepage.gif" align="middle" /></a> </xsl:if>
<xsl:if test="/post/userlist/user[@userid=$userid]/@userim !=''"><a href="http://service.51uc.com/user_info/show_user_info_base.shtml?UID={/post/userlist/user[@userid=$userid]/@userim}" title="{@username}[{/post/userlist/user[@userid=$userid]/@userim}]UC" target="_blank"><img src="{/post/setting/@picurl}uc.gif"  border="0" align="middle" /></a></xsl:if>
</div>
<hr />
<xsl:variable name="checkinfo"><xsl:call-template name="checkuser">
<xsl:with-param name="userid" select="$userid"/>
</xsl:call-template></xsl:variable>
<xsl:if test="$checkinfo !=''"><div class="lockuser"><xsl:value-of select="$checkinfo" /></div></xsl:if>
<xsl:if test="$checkinfo ='' or /post/userinfo/@boardmaster =1">
<div style="height:22px;line-height:22px;"><div style="float:left;"></div><b><xsl:value-of select="@topic" disable-output-escaping="yes"/></b></div>
<xsl:if test="@parentid = 0">
<xsl:if test="$mofaface !='' and $mofaface !='0'"><div style="float:right;margin-right:20px;"><a href="javascript:DispMagicEmot({$mofaface},350,500)"><img src="dv_plus/tools/magicface/gif/{$mofaface}.gif" border="0" alt=""/><br />ħ<br/>ط</a></div>
<script type="text/javascript" language="javascript">
LoadMagicEmot(<xsl:value-of select="$mofaface" />,<xsl:value-of select="/post/postinfo/@topicid"/>);
</script>
</xsl:if>
</xsl:if>
<div style="{$bodystyle}margin-top:10px;word-wrap : break-word ;word-break : break-all ;" onload="this.style.overflowX='auto';">
<xsl:choose>
		<xsl:when test="@parentid =0 and /post/postinfo/@getmoneytype=3"><xsl:call-template name="checkgetmoney" /></xsl:when>
		<xsl:otherwise><div><table cellspacing="0" cellpadding="0" border="0"><tr><td><img height="8" src="images/top_l.gif" width="14"/></td><td background="images/top_c.gif"></td><td><img height="8" src="images/top_r.gif" width="16"/></td></tr><tr><td valign="top" width="14" background="images/center_l.gif"></td><td bgColor="#fffff1"><xsl:value-of select="@body" disable-output-escaping="yes"/> </td><td valign="top" width="16" background="images/center_r.gif"></td></tr><tr><td><img height="42" src="images/foot_l1.gif" width="14"/></td><td background="images/foot_c.gif"><img height="42" src="images/foot_l3.gif" width="36"/></td><td><img height="42" src="images/foot_r.gif" width="16"/></td></tr></table></div><img src="{/post/setting/@picurl}topicface/{@expression}" alt="" />  </xsl:otherwise>
</xsl:choose>
</div>
<xsl:if test="/post/userlist/user[@userid=$userid]/@usersign !='' and @signflag =1"><img src="{/post/setting/@picurl}sigline.gif" /><br /><xsl:value-of select="/post/userlist/user[@userid=$userid]/@usersign" disable-output-escaping="yes"/></xsl:if>
</xsl:if>
<xsl:if test="$checkinfo !='' and not (/post/userinfo/@boardmaster =1)">
<div style="{$bodystyle}margin-top:30px;">

</div><!--  ǹտһеģֶ࣬㵽գ˴Ҫ-->
</xsl:if>
<xsl:variable name="postinfo"><xsl:call-template name="checkpostinfo" /></xsl:variable>
<xsl:if test="$postinfo !=''"><div class="info">
<xsl:value-of select="$postinfo" disable-output-escaping="yes"/>
</div></xsl:if>
</div>
</div>
<div class="postbottom{2 - (position() mod 2)}" >
<xsl:if test="position()=last()"><xsl:attribute name="id">postend</xsl:attribute></xsl:if>
<div class="postuserinfo" style="height:28px;"><div style="float:left;">
<xsl:choose>
		<xsl:when test="/post/userinfo/@canlookip = 1">
		<a href="TopicOther.asp?t=1&amp;boardid={/post/postinfo/@boardid}&amp;userid={$userid}&amp;ip={@ip}&amp;action=lookip" target="_blank">
<img border="0" src="Skins/Default/ip.gif" style="margin:4px;" alt="鿴ûԴIP{@ip}" /></a>
		</xsl:when>
		<xsl:otherwise><img src="{/post/setting/@picurl}ip.gif" style="margin: 4px;" alt="ipַñ" /></xsl:otherwise>
</xsl:choose>
</div><xsl:value-of select="@dateandtime" /></div>
<div class="postie" style="height:28px;padding:0px;text-indent:10px;">
<div style="float:right;margin-right:5px;"><div style="float:left;height:26px;"><script src="word.asp"></script>
</div>
<xsl:if test="/post/userinfo/@userid  !=0"><div class="menu_popup" id="Menu_{position()}">
<div class="menuitems">
<a href="TopicOther.asp?t=6&amp;BoardID=103&amp;id={/post/postinfo/@topicid}&amp;ReplyID={@announceid}" title="Աٱ">ٱ</a>
<xsl:if test="position() != 1 or  /post/postinfo/@star !=1">
<xsl:choose>
		<xsl:when test="/post/userinfo/@userid= $userid and not (/post/userinfo/@boardmaster=1)">
		<xsl:if test="/post/userinfo/@candelmypost=1">
		<br /><a href="admin_postings.asp?action=dele_a&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;userid={@postuserid}">ɾ</a>
		</xsl:if>
		</xsl:when>
		<xsl:otherwise>
		<xsl:if test="/post/userinfo/@boardmaster=1">
<br /><a href="admin_postings.asp?action=dele_a&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;userid={@postuserid}">ɾ</a>
		</xsl:if>
		</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="/post/userinfo/@boardmaster =1 ">
<br /><a href="admin_postings.asp?action=copy_a&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;userid={@postuserid}"></a>
<xsl:choose>
		<xsl:when test="@isbest= 0 "><br /><a href="admin_postings.asp?action=isbest_a&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;userid={@postuserid}">Ϊ</a></xsl:when>


		<xsl:otherwise><br /><a href="admin_postings.asp?action=nobest_a&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;userid={@postuserid}"></a></xsl:otherwise>
</xsl:choose>
<xsl:choose>
		<xsl:when test="@locktopic !=2"><xsl:choose>
		<xsl:when test="@locktopic =3">
		<br/><a href="AccessTopic.asp?action=unlock&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}">̷</a>
		</xsl:when>
		<xsl:otherwise><br/><a href="admin_postings.asp?action=islockpage_a&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;userid={@postuserid}"></a></xsl:otherwise>
</xsl:choose>
		</xsl:when>
		<xsl:otherwise>
		<br/><a href="admin_postings.asp?action=nolockpage_a&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;userid={@postuserid}"></a>
		</xsl:otherwise>
</xsl:choose>
<br /><a href="admin_postings.asp?action=RewardMoney&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}" title="ɽ۳ûطֵ"></a>
</xsl:if>
<xsl:if test="/post/setting/@usetools =1 ">
<br /><a title="Աʹ̳" href="javascript:openScript('plus_Tools_InfoSetting.asp?action=0&amp;BoardID={/post/postinfo/@boardid}&amp;TopicID={/post/postinfo/@topicid}&amp;ReplyID={@announceid}&amp;ToUserID={@postuserid}',500,400)">ʹõ</a>
</xsl:if>
</div>
</div></xsl:if>

<xsl:if test="(/post/userinfo/@userid != 0 and /post/postinfo/@locktopic != 1 and /post/userinfo/@canreply =1)or (/post/userinfo/@boardmaster =1 ) ">
<a href="post.asp?action=re&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}&amp;reply=true"><img src="{/post/setting/@picurl}reply.gif" border="0" alt="ûظ"  style="margin:4px;border:0px;"/></a><xsl:text> </xsl:text>
<a href="post.asp?action=re&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}"><img src="{/post/setting/@picurl}reply_a.gif" border="0" alt="ظ"  style="margin:4px;border:0px;"/></a> 
</xsl:if>
<xsl:if test="/post/userinfo/@userid  !=0">
<xsl:choose>
		<xsl:when test="/post/userinfo/@userid= $userid and not (/post/userinfo/@boardmaster=1)">
		<xsl:if test="/post/userinfo/@caneditmypost=1">
			<a href="post.asp?action=edit&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}"><img src="{/post/setting/@picurl}edit.gif" alt="༭" style="margin:4px;border:0px;" /></a>
		</xsl:if>
		</xsl:when>
		<xsl:otherwise>
		<xsl:if test="/post/userinfo/@boardmaster=1">
			<a href="post.asp?action=edit&amp;BoardID={/post/postinfo/@boardid}&amp;replyID={@announceid}&amp;ID={/post/postinfo/@topicid}&amp;star={/post/postinfo/@star}"><img src="{/post/setting/@picurl}edit.gif" alt="༭" style="margin:4px;border:0px;" /></a>
		</xsl:if>
		</xsl:otherwise>
</xsl:choose>
 <img src="{/post/setting/@picurl}topicmanage.gif" alt="" style="margin:4px;cursor: pointer;" onmouseover="showmenu(event,'','Menu_{position()}');" /> </xsl:if><a href="#top"><img src="{/post/setting/@picurl}p_up.gif" alt="" style="margin:4px;border:0px;"/></a>
</div><div>
<xsl:value-of select="@ubblist" disable-output-escaping="yes"/>
</div></div>
</div>
</xsl:for-each>
<br />
<div class="mainbar0" style="height:26px;text-align : left;">
<div  style="height:26px;float:right;">
	<xsl:choose>
		<xsl:when test="/post/postinfo/@skin='0'">
				<xsl:call-template name="PageList">
				<xsl:with-param name="Page" select="/post/postinfo/@star"/>
				<xsl:with-param name="m" select="10"/>
				<xsl:with-param name="MaxRows" select="/post/setting/@pagesize"/>
				<xsl:with-param name="CountNum" select="/post/postinfo/@child+1"/>
				<xsl:with-param name="PageStr">dispbbs.asp?boardid=<xsl:value-of select="/post/postinfo/@boardid"/>&amp;replyid=<xsl:value-of select="/post/postinfo/@replyid"/>&amp;id=<xsl:value-of select="/post/postinfo/@topicid"/>&amp;page=<xsl:value-of select="/post/postinfo/@page"/>&amp;skin=<xsl:value-of select="/post/postinfo/@skin"/></xsl:with-param>
				<xsl:with-param name="v" select="1"/>
				<xsl:with-param name="pv">Star</xsl:with-param>
				<xsl:with-param name="target"></xsl:with-param>
				<xsl:with-param name="Forum_AllTopNum" select="0"/>
				</xsl:call-template>
		</xsl:when>
		<xsl:otherwise><span id="showpagelist">
		</span>
		</xsl:otherwise>
</xsl:choose>
		
			<span id="showclose"> </span>
</div>
<select name="BoardJumpList" id="BoardJumpList" onchange="if(this.options[this.selectedIndex].value!='')location='index.asp?boardid='+this.options[this.selectedIndex].value;" >

</select>
</div>
<script type="text/javascript" language="javascript">
BoardJumpListSelect('<xsl:value-of select="post/postinfo/@boardid"/>',"BoardJumpList","̳ת....","",0);
		</script>
		<xsl:if test="/post/postinfo/@skin='1'">
			<iframe style="border:0px;width:0px;height:0px;" src="loadtree.asp?boardid={post/postinfo/@boardid}&amp;star=1&amp;replyid={post/postinfo/@replyid}&amp;id={post/postinfo/@topicid}&amp;openid={post/row/@announceid}" name="hiddenframe">
				<xsl:value-of select="''" />
			</iframe>
			<div id="postlist" style="margin-top : 10px; margin-bottom : 10px; ">
				<xsl:value-of select="' '" />
			</div>
		</xsl:if>
		<xsl:if test="post/userinfo/@canreply =1 ">
			<xsl:call-template name="fastre" />
		</xsl:if>
		<xsl:variable name="postuserid" select="post/postinfo/@postuserid"/>
		<xsl:choose>
			<xsl:when test="post/userinfo/@boardmaster =1">
				<xsl:call-template name="managemenu" />
			</xsl:when>
			<xsl:otherwise>
				<xsl:if test="post/userinfo/@userid = $postuserid ">
					<xsl:call-template name="managemenume" />
				</xsl:if>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="checkpostinfo">
		<ul class="info">
		<xsl:if test="@isbest='1'">
			<li><img src="{/post/setting/@picurl}jing.gif" border="0" title="Ϊ" align="absmiddle"/>Ϊ</li>
		</xsl:if>
		<xsl:if test="@isagree_1 &gt; 0 or @isagree_0 &gt; 0">
			<li></li>
			<xsl:if test="@isagree_1 &gt; 0">
				<dd>
				<img src="{/post/setting/@picurl}agree.gif" border="0" alt="{@isagree_1}ҽ" align="absmiddle"/><font color="red"><xsl:value-of select="@isagree_1" /></font>ҽ
				<xsl:if test="@isagree_3 != ''">
					(<xsl:value-of select="@isagree_3"/>)
				</xsl:if>
				</dd>
			</xsl:if>
			<xsl:if test="@isagree_0 &gt; 0">
				<dd>
					<img src="{/post/setting/@picurl}DisAgree.gif" border="0" alt="۳{@isagree_0}"/>۳<font color="red"><xsl:value-of select="@isagree_0" /></font>
					<xsl:if test="@isagree_2 != ''">
						(<xsl:value-of select="@isagree_2"/>)
					</xsl:if>
				</dd>
			</xsl:if>
		</xsl:if>
		<li>[<font color="#3399FF">֧: <span id="isagree1_{@announceid}"><xsl:value-of select="@isagree_5"/></span> </font> <font color="#FF6600">: <span id="isagree2_{@announceid}"><xsl:value-of select="@isagree_6"/></span> </font><font color="#009933">: <span id="isagree0_{@announceid}"><xsl:value-of select="@isagree_4"/></span> </font>]  <a href="Appraise.asp?boardid={/post/postinfo/@boardid}&amp;topicid={/post/postinfo/@topicid}&amp;postid={@announceid}" target="_blank"><font color="red">鿴Ϣ</font></a></li>
		<xsl:if test="@isupload='2' or @isupload='3'">
			<li><a href="wap.asp?Action=readme" target="_blank"><img src="{/post/setting/@picurl}wap00.gif" border="0" alt="Wap-ֻ"/></a></li>
		</xsl:if>
		<xsl:if test="/post/postinfo/@usetools!='' or /post/postinfo/@getmoneytype!='0'">
			<li><img src="{/post/setting/@picurl}mini_query.gif" border="0" alt="鿴ʹõϸϢ" onclick="openScript('ViewInfo.asp?t=2&amp;action=View&amp;PostTable={/post/postinfo/@posttable}&amp;BoardId={/post/postinfo/@boardid}&amp;ID={/post/postinfo/@topicid}&amp;ReplyID={@announceid}',600,450)" class="imgonclick" />
			<xsl:choose>
				<xsl:when test="@parentid = 0">
					<xsl:call-template name="TopicSendMoneyStr">
						<xsl:with-param name="i">
							<xsl:value-of select="/post/postinfo/@getmoneytype"/>
						</xsl:with-param>
					</xsl:call-template>
				</xsl:when>
				<xsl:otherwise>
					<xsl:call-template name="SendMoneyStr">
						<xsl:with-param name="i">
							<xsl:value-of select="/post/postinfo/@getmoneytype"/>
						</xsl:with-param>
					</xsl:call-template>
				</xsl:otherwise>
			</xsl:choose>
			</li>
		</xsl:if>
		</ul>
	</xsl:template>
	<xsl:template name="TopicAppraise">
		<!--۹-->
		<style type="text/css">
			#TopicAppraise{
			font-size:12px;
			line-height:18px;
			padding:0;
			background:#FFFFE6;
			border:2px solid #222;
			text-align:left;
			z-index: 98;
			display: none;
			position: absolute;
			}
		</style>
		<script language="JavaScript" src="inc/topicpk.js"></script>
		<div id="TopicAppraise" align="left">
			<iframe class="iframe_style" src="" name="TempIframe"></iframe>
			<table class="tableborder2" id="iframe_table" cellspacing="1" cellpadding="3" align="center">
				<form name="Appraise"  method="post" action="Appraise.asp?action=save" onsubmit="return submit_form(this);" target="TempIframe">
				<input type="hidden" name="boardid" value="{/post/postinfo/@boardid}"/>
				<input type="hidden" name="topicid" value=""/>
				<input type="hidden" name="announceid" value=""/>
					<tr>
						<th colspan="2" height="20px">
							<img src="images/others/close.gif" alt="ر" class="imgonclick"  style="float:right;" onclick="PkFormClose('{/post/setting/@dvgetcode}');"/> 
						</th>
					</tr>
					<tr>
						<td class="tablebody1" width="20%">ѡȡͣ</td>
						<td class="tablebody1" width="80%">
							<input type="radio" name="atype" value="0" checked="true" class="radio" onclick="sel_type(this);"/>
							֧<input type="radio" name="atype" value="1"  class="radio" onclick="sel_type(this);"/>
							<input type="radio" name="atype" value="2" class="radio" onclick="sel_type(this);"/>
							<span id="atype_1"  style="display:none;">
								<select name="a1" onchange="document.Appraise.acontent.value=this.options[this.selectedIndex].text;">
									<option value="0">ѡȡ۵</option>
									<option value="1">ʣһѪ</option>
									<option value="2">۵</option>
									<option value="3">˵úܶ</option>
									<option value="4">˵е</option>
								</select>
							</span>
							<span id="atype_2"  style="display:none;">
								<select name="a2" onchange="document.Appraise.acontent.value=this.options[this.selectedIndex].text;">
									<option value="0">ѡȡ۵</option>
									<option value="1">˵û</option>
									<option value="2">֪˵ʲô</option>
									<option value="3">ֱǺ˵˵</option>
								</select>
							</span>
						</td>
					</tr>
					<tr>
						<td class="tablebody1">۵⣺</td>
						<td class="tablebody1">
							<input type="text" name="atitle" size="50" maxlength="50" value=""/>
						</td>
					</tr>
					<tr>
						<td class="tablebody1" valign="top">֤룺</td>
						<td class="tablebody1" valign="top"><input type="text" name="acodestr" size="4" /><img id="agetcode" alt= "֤,?ˢ֤" style="cursor:pointer; vertical-align:middle;height:20px;" onClick="this.src='{/post/setting/@dvgetcode}?t='+Math.random()"/> <span id="GetCodeErr"></span></td>
					</tr>
					<tr>
						<td class="tablebody1" valign="top">۵ݣ<br/>֧HTML</td>
						<td class="tablebody1" valign="top">
							<textarea name="acontent" class="con" rows="10"></textarea>
							<span id="aContentStr"></span>
						</td>
					</tr>
					<tr>
						<td colspan="2" class="tablebody2">
							<ol>
								<li>Կ͹ۡʵۣע</li>
								<li>۵㷢ģ</li>
							</ol>
						</td>
					</tr>
					<tr>
						<td colspan="2" class="tablebody1" align="center">
							<input type="submit" value=""/>
						</td>
					</tr>
				</form>
			</table>
		</div>
	</xsl:template>
	<xsl:template name="TopicSendMoneyStr">
		<xsl:param name="i"/>
		<xsl:if test="$i='1'"> ͽҪ <font color="red"><xsl:value-of select="@getmoney"/></font>  </xsl:if>
		<xsl:if test="$i='5'"> ͽҪ <font color="red"><xsl:value-of select="@getmoney"/></font> [ѽ] </xsl:if>
		<xsl:if test="$i='2'">  <font color="red"><xsl:value-of select="/post/postinfo/@getmoney"/></font> </xsl:if>
		<xsl:if test="$i='3'"> 鿴֧ <font color="red"><xsl:value-of select="/post/postinfo/@getmoney"/></font> </xsl:if>
	</xsl:template>
	<xsl:template name="SendMoneyStr">
		<xsl:param name="i"/>
		<xsl:if test="($i='1' or $i='5') and /post/postinfo/@postuserid != @postuserid ">
			<font color="red"><xsl:value-of select="@getmoney"/></font>
		</xsl:if>
		<xsl:if test="/post/postinfo/@postuserid = /post/userinfo/@userid and @postuserid!=/post/userinfo/@userid and $i!='5' and $i='1'">
			<a href="BuyPost.asp?Action=Send&amp;PostTable={/post/postinfo/@posttable}&amp;BoardId={/post/postinfo/@boardid}&amp;ID={/post/postinfo/@topicid}&amp;ReplyID={@announceid}&amp;UserName={@username}" title="ͽҸԱ{@username}" target="_blank">ͽ</a>
		</xsl:if>
		<xsl:if test="$i='2'">
			<font color="red"><xsl:value-of select="@getmoney"/></font>
		</xsl:if>
	</xsl:template>
	<xsl:template name="checkuser">
		<xsl:param name="userid"/>
		<xsl:choose>
			<xsl:when test="@isbest= 1 ">
				<xsl:if test="not ( /post/userinfo/@canreadbest = 1)">Ȩ鿴</xsl:if>
			</xsl:when>
			<xsl:otherwise>
				<xsl:choose>
					<xsl:when test="@locktopic=2">ݱ</xsl:when>
					<xsl:otherwise>
						<xsl:choose>
							<xsl:when test="/post/userlist/user[@userid=$userid]/@lockuser=1">ûѱ</xsl:when>
							<xsl:otherwise>
								<xsl:choose>
									<xsl:when test="/post/userlist/user[@userid=$userid]/@lockuser=2">ûѾ</xsl:when>
									<xsl:otherwise>
										<xsl:choose>
											<xsl:when test="@locktopic=3">ݴ</xsl:when>
											<xsl:otherwise></xsl:otherwise>
										</xsl:choose>
									</xsl:otherwise>
								</xsl:choose>
							</xsl:otherwise>
						</xsl:choose>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	<xsl:template name="fastre">
<xsl:variable name="myscript">
			<![CDATA[
<script language="Javascript" type="text/javascript">
var Dvbbs_bIsIE5=document.all;
var Dvbbs_Mode = 3;
var IframeID;
IframeID = IframeID? frames["Dvbbs_Composition"] : document.getElementById("Dvbbs_Composition").contentWindow;
Dvbbs_InitDocument('Body','gb2312');
buildTemp();
</script>
]]>
</xsl:variable>
		<xsl:variable name="facpath" select="post/postface/@path"/>
		<xsl:variable name="empath" select="post/emot/@path"/>
		<link rel="stylesheet" type="text/css" href="images/post/edit.css" />
		<script  language = "Javascript" src="images/post/reply.js" type="text/javascript"></script>
		<script language = "Javascript" src = "images/post/post.js" type="text/javascript"></script>
		<form id="Dvform" name="Dvform" action="savepost.asp?action=sre&amp;method=fastreply&amp;BoardID={post/postinfo/@boardid}" onkeydown="ctlent();" onsubmit="Dvbbs_CopyData('Body');return Checkpostdata(this);" method="post">
			<input type="hidden" id="Body" name="Body" value="{post/userinfo/@postdata}" />
			<input type="hidden" id="followup" name="followup" value="{post/row/@announceid}" />
			<input type="hidden" id="RootID" name="RootID" value="{post/postinfo/@topicid}" />
			<input type="hidden" id="star" name="star" value="{post/postinfo/@star}" />
			<input type="hidden" id="TotalUseTable" name="TotalUseTable" value="{post/postinfo/@posttable}" />
			<input type="hidden" id="UserName" name="UserName" value="{post/userinfo/@username}" />
			<div class="th" style="margin-top : 20px;">
				<div style="float:left;">
					<xsl:text disable-output-escaping="yes" >&amp;nbsp;&amp;nbsp;</xsl:text>
				</div>
				<xsl:choose>
					<xsl:when test="post/postinfo/@topicmode = 1">
						<xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes" />
					</xsl:when>
					<xsl:otherwise>
						<xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes"/>
					</xsl:otherwise>
				</xsl:choose>
			</div>
			<div class="mainbar3" style="border-top:0px;border-bottom:0px;">
				<div id="dv_preview" style="display:none;border : 1px dotted #ccc;background-color :#f5f5f5;text-align :left;font-size:{/post/setting/@fontsize}pt;line-height:{/post/setting/@lineheight};text-indent:{/post/setting/@indent}px;margin:10px 10px 10px 10px;;word-wrap : break-word ;word-break : break-all ;">
					<font color="#cccccc">ظЧԤ</font>
				</div>
			</div>
			<div id="dv_upload" class="mainbar1" style="border-top:0px;border-bottom:0px;display:none;">
				<iframe name="ad" align="right" frameborder="0" width="90%" height="24" scrolling="no" src="post_upload.asp?boardid={post/postinfo/@boardid}"></iframe>
			</div>
			<div id="dv_topic" class="mainbar1" style="border-bottom:0px;display:none;">
				<div class="postuserinfo" style="text-align:right;height:30px;line-height:30px;">
					<b>ظ⣺</b>
				</div>
				<div class="postie" style="padding:0px;height:30px;text-align:left; ">
					<xsl:value-of select="'&amp;nbsp;'"  disable-output-escaping="yes"/>
					<input name="topic" id="topic" size="45" class="FormClass" value="" style="margin-top:3px;"/>
				</div>
			</div>
			<div class="postlary2">
				<div class="postuserinfo" >
					<div style="height:30px;line-height:30px;">
						<b></b>
					</div>
					<div style="height:162px;border:1px inset;background-color: #fff;padding:10px;text-indent:0px;overflow:auto;">
						<xsl:for-each select="post/postface/face">
							<xsl:choose>
								<xsl:when test="position()=1">
									<input type="radio" value="{.}" name="Expression" checked="checked" class="radio"/>
								</xsl:when>
								<xsl:otherwise>
									<input type="radio" value="{.}" name="Expression" class="radio"/>
								</xsl:otherwise>
							</xsl:choose>
							<img src="{$facpath}{.}" alt="" />
						</xsl:for-each>
					</div>
					<xsl:if test="post/setting/@piccheck =1 ">
						<div style="line-height:28px;"><b>֤룺</b><input type="text" name="codestr" style="margin-top:6px;" size="8" /></div>
						<div><img id="pgetcode" src="{/post/setting/@dvgetcode}" alt= "֤,?ˢ֤" style="height : 20px;margin-top:10px;cursor : pointer;" onClick="this.src='{/post/setting/@dvgetcode}?t='+Math.random()"/></div>
					</xsl:if>
					<div id="errinfo"> </div>
				</div>
				<div class="postie" style="padding:0px;height:300px; ">
					<div style="width:100%">
						<div style="float:left;height:30px;line-height:30px;">
							<img src="images/post/fgcolor.gif" alt="ɫ" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Dvbbs_foreColor();this.className='icoonclick';"/>
							<img src="images/post/fbcolor.gif" alt="屳ɫ" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Dvbbs_backColor();this.className='icoonclick';"/>
							<img src="images/post/bold.gif" alt="" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="FormatText('bold', '');this.className='icoonclick';"/>
							<img src="images/post/italic.gif" alt="б" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="FormatText('italic', '');this.className='icoonclick';"/>
							<img src="images/post/underline.gif" alt="»" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="FormatText('underline', '');this.className='icoonclick';"/>
							<img src="images/post/separator.gif" style="margin-top:4px;margin-right:4px;float:left;" alt=""/>
							<img src="images/post/wlink.gif" alt="" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Curl();this.className='icoonclick';"/>
							<img src="images/post/img.gif" alt="ͼƬ" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Dv_Signal('IMG');this.className='icoonclick';"/>
							<img src="images/post/swf.gif" alt="FlashͼƬ" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Cswf();this.className='icoonclick';"/>
							<img src="images/post/rm.gif" alt="realplayƵļ" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Crm();this.className='icoonclick';"/>
							<img src="images/post/wmv.gif" alt="Media PlayerƵļ" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Cwmv();this.className='icoonclick';"/>
							<img src="images/post/separator.gif" style="margin-top:4px;margin-right:4px;float:left;" alt=""/>
							<img src="images/post/quote.gif" alt="" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Dv_ubb('QUOTE');this.className='icoonclick';"/>
							<img src="images/post/cleancode.gif" alt="" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Dvbbs_CleanCode();this.className='icoonclick';"/>
							<img src="images/post/icon_tenpay.gif" alt="һƸͨϢ" class="icoover" onmouseover="this.className='icoovermouseover';" onmouseout="this.className='icoover';" onclick="Dvbbs_UserDialog('InsertAlipay');this.className='icoonclick';"/>
<select class="Dvbbs_TBGen" id="dht_Qreply" 

onchange="IframeID.document.body.innerHTML+=this[this.selectedIndex].value;Dvbbs_CopyData

('Body');document.Dvform.submit();"> 
<option value="ٻظ">ٻظ</option>
<option value=",һ£л¥">,һ£л¥</option>
<option value="ôһ£">ôһ£</option>
<option value="ˣл">ˣл</option>
<option value="Ҫģл">Ҫģл</option>
<option value="ллѧϰ£">ллѧϰ£</option>
<option value="öҪ,лл">öҪ,лл</option>
</select>
							<div style="float:left;height:30px;line-height:30px;">ʾ</div>
							<div style="float:left;height:30px;line-height:30px;">
								<input type="checkbox" id="dv_checkb1" name="dv_checkb1" style="margin:4px;" onclick="Gopreview1();"  class="chkbox"/>
							</div>
							<div style="float:left;height:30px;line-height:30px;">Ԥ</div>
							<div style="float:left;height:30px;line-height:30px;">
								<input type="checkbox" id="dv_checkb2" name="dv_checkb2" style="margin:4px;" onclick="showtopic();"  class="chkbox"/>
							</div>
							<div style="float:left;height:30px;line-height:30px;">ظ</div>
							<div style="float:left;height:30px;line-height:30px;">
								<input type="checkbox" id="dv_checkb3" name="dv_checkb3" style="margin:4px;" onclick="showupload();" class="chkbox"/>
							</div>
							<div style="float:left;height:30px;line-height:30px;">ϴ</div>
						</div>
					</div>
					<iframe class="Dvbbs_Reply" id="Dvbbs_Composition" marginheight="5" marginwidth="5" width="99%" height="227"></iframe>
					<div style="float:left;height:30px;line-height:30px;border:1px inset;background-color: #fff;padding:4px;">
						<select id="Dvbbs_formatSelect" class="Dvbbs_TBGen" onchange="Dvbbs_doSelectClick('FormatBlock',this)">
							<option>ʽ</option>
							<option value="&lt;P&gt;">ͨʽ</option>
							<option value="&lt;H1&gt;"> 1</option>
							<option value="&lt;H2&gt;"> 2</option>
							<option value="&lt;H3&gt;"> 3</option>
							<option value="&lt;H4&gt;"> 4</option>
							<option value="&lt;H5&gt;"> 5</option>
							<option value="&lt;H6&gt;"> 6</option>
							<option value="&lt;H7&gt;"> 7</option>
							<option value="&lt;PRE&gt;">ѱŸʽ</option>
							<option value="&lt;ADDRESS&gt;">ַ</option>
						</select>
						<select class="Dvbbs_TBGen" id="FontName" onchange="FormatText ('fontname',this[this.selectedIndex].value);">
							<option class="heading" selected="selected"></option>
							<option value=""></option>
							<option value=""></option>
							<option value="_GB2312"></option>
							<option value="_GB2312"></option>
							<option value=""></option>
							<option value="Բ">Բ</option>
							<option value=""></option>
							<option value="ϸ">ϸ</option>
							<option value="Arial">Arial</option>
							<option value="Arial Black">Arial Black</option>
							<option value="Courier">Courier</option>
							<option value="Verdana">Verdana</option>
							<option value="Wide Latin">Wide Latin</option>
							<option value="Wingdings">Wingdings</option>
						</select>
						<select class="Dvbbs_TBGen" id="FontSize" onchange="FormatText('fontsize',this[this.selectedIndex].value);">
							<option class="heading" selected="selected">ֺ</option>
							<option value="1">1</option>
							<option value="2">2</option>
							<option value="3">3</option>
							<option value="4">4</option>
							<option value="5">5</option>
							<option value="6">6</option>
							<option value="7">7</option>
						</select>
					</div>
					<div style="overflow : auto ;padding:4px 20px 4px 20px;height:30px;line-height:30px;text-align : left;border:1px inset;background-color: #fff;">
						<xsl:for-each select="post/emot/em">
							<xsl:choose>
								<xsl:when test="position() &gt; 9">
									<img src="{$empath}{.}" alt="" style="margin:6px;cursor: pointer;" onclick="putEmot('em{position()}');"/>
								</xsl:when>
								<xsl:otherwise>
									<img src="{$empath}{.}" alt="" style="margin:6px;cursor: pointer;" onclick="putEmot('em0{position()}');"/>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:for-each>
					</div>
				</div>
			</div>
			<div class="postlary2"  style="height:28px;line-height:28px;border-top:0px; " >
				<div class="postuserinfo" style="height:28px;text-indent:10px;">

				</div>
				<div class="postie" style="height:28px;padding:0px;text-indent:10px;text-align:left; ">
					<div>
						<input type="hidden" value="" name="upfilerename"/>
						<input type="Submit" value="OK!ظ" name="Submit" style="margin:3px;"/> <input type="button" value="Ԥ " name="Button" id="Button" style="margin:3px;" onclick="Gopreview()" /> <input style="margin:3px;" type="reset" name="Submit2" value="ݣ" onclick="ClearReset()"/>
						<input class="Dvbbs_Reply" disabled="disabled" maxLength="6" size="8" value="{post/setting/@maxpostlen}" name="total" /> ֽ.
						<xsl:choose>
						<xsl:when test="/post/userinfo/@userid=0">
							<input type="hidden" value="0" name="signflag" />
						</xsl:when>
						<xsl:otherwise>
							<b>ǩ</b>
							ʾ<input type="radio" value="0" name="signflag" class="radio"/>
							ʾ<input type="radio" checked="checked" value="1" name="signflag" class="radio"/>
							<xsl:if test="/post/userinfo/@cananony=1">
								<input type="radio" value="2" name="signflag" class="radio"/>
							</xsl:if>
						</xsl:otherwise>
						</xsl:choose>
					</div>
				</div>
			</div>
			<script language="javascript">
				function Checkpostdata(theform){
					var Dvbbs_bIsIE5=document.all;
					var Dvbbs_Mode = 0;
					if (Dvbbs_bIsIE5){
						var IframeID=frames["Dvbbs_Composition"];
					}
					else{
						var IframeID=document.getElementById("Dvbbs_Composition").contentWindow;
						var Dvbbs_bIsNC=true;
					}
					if (theform.codestr!=null){
						if (theform.codestr.value==''){
							document.getElementById('errinfo').innerHTML='<li><font color="red">֤ˣ</font></li>';
							theform.codestr.focus();
							return false;
						}
					}
					if (theform.Body.value.length==0){
						document.getElementById('errinfo').innerHTML='<li><font color="red">дظˣ</font></li>';
						IframeID.focus();
						return false;
					}else{
						if (theform.Body.value.length <xsl:value-of select="'&gt;'" disable-output-escaping="yes"/> <xsl:value-of select="post/setting/@maxpostlen"/>) {
							document.getElementById('errinfo').innerHTML='<li><font color="red">ظݲܴ <xsl:value-of select="post/setting/@maxpostlen"/> ֽڣ</font></li>';
							IframeID.focus();
							return false;
						}
						if (theform.Body.value.length <xsl:value-of select="'&lt;'" disable-output-escaping="yes"/> <xsl:value-of select="post/setting/@leastpostlen"/>) {
							document.getElementById('errinfo').innerHTML='<li><font color="red">ظݲС <xsl:value-of select="post/setting/@leastpostlen"/> ֽڣ</font></li>';
							IframeID.focus();
							return false;
						}
					}
					return true;
				}
			</script>
		</form>
		<form name="preview" action="preview.asp?boardid={post/postinfo/@boardid}" method="post" target="preview_page">
			<input type="hidden" name="Dvtitle" value="" />
			<input type="hidden" name="theBody" value="" />
		</form>
		<xsl:value-of select="$myscript" disable-output-escaping="yes" />

	</xsl:template>
	<xsl:template name="managemenu">
		<div class="mainbar0" style="height:36px;line-height:36px;">
			<div style="height:36px;float:right;">
				<b>ѡ</b>
				<xsl:if test="/post/postinfo/@getmoneytype =1">
					<a href="BuyPost.asp?Action=Close&amp;BoardID={post/postinfo/@boardid}&amp;PostTable={post/postinfo/@posttable}&amp;ID={post/postinfo/@topicid}&amp;ReplyID={post/postinfo/@replyid}" title=""></a> |
				</xsl:if>
				<a href="admin_postings.asp?action=ר&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="ר">ר</a> 
<xsl:choose>
		<xsl:when test="post/postinfo/@locktopic = 1"> | <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="⿪"></a></xsl:when>
		<xsl:otherwise> | <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title=""></a></xsl:otherwise>
</xsl:choose>
| <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="бǰ"></a>
| <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="ŵбϿλ"></a>
| <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="ɾĸ"></a>
| <a href="admin_postings.asp?action=ɾ&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="ע⣺ɾӣָܻ">ɾ</a>
| <a href="admin_postings.asp?action=ƶ&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}&amp;replyID={post/postinfo/@replyid}" title="ƶ">ƶ</a> 
| <a href="admin_postings.asp?action=ù̶&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="ù̶">ù̶</a> 
| <a href="announcements.asp?BoardID={post/postinfo/@boardid}&amp;action=AddAnn"></a>
</div>
</div>
</xsl:template>
<xsl:template name="managemenume">
<div class="mainbar0" style="height:36px;line-height:36px;">
<div style="height:36px;float:right;">
<b>ӹ</b>
<xsl:if test="/post/postinfo/@getmoneytype =1">
 <a href="BuyPost.asp?Action=Close&amp;BoardID={post/postinfo/@boardid}&amp;PostTable={post/postinfo/@posttable}&amp;ID={post/postinfo/@topicid}&amp;ReplyID={post/postinfo/@replyid}" title=""></a> | 
</xsl:if>
<xsl:if test="post/userinfo/@canlockmypost =1">
<xsl:choose>
		<xsl:when test="post/postinfo/@locktopic = 1"> <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="⿪"></a></xsl:when>
		<xsl:otherwise> <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title=""></a></xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="post/userinfo/@candelmypost =1">
 | <a href="admin_postings.asp?action=&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="ɾĸ"></a>
 | <a href="admin_postings.asp?action=ɾ&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}" title="ע⣺ɾӣָܻ">ɾ</a>
</xsl:if>
<xsl:if test="post/userinfo/@canmovemypost =1">
 | <a href="admin_postings.asp?action=ƶ&amp;BoardID={post/postinfo/@boardid}&amp;ID={post/postinfo/@topicid}&amp;replyID={post/postinfo/@replyid}" title="ƶ">ƶ</a> 
</xsl:if>
</div>
</div>
</xsl:template>
<xsl:template name="PageList">
<xsl:param name="Page"/><!--ǰҳ-->
<xsl:param name="m"/><!--һʾҳ-->
<xsl:param name="MaxRows"/><!--ÿҳ¼-->
<xsl:param name="CountNum"/><!--ܼ¼-->
<xsl:param name="PageStr"/><!--Ӳ-->
<xsl:param name="v"/><!--ʾ-->
<xsl:param name="pv"/><!--ҳ-->
<xsl:param name="target"/><!--Ŀ-->
<xsl:param name="Forum_AllTopNum"/>
<xsl:variable name="pagecount"><xsl:choose>
<xsl:when test="$CountNum mod $MaxRows=0">
<xsl:value-of select="$CountNum  div $MaxRows"/>
</xsl:when>
<xsl:otherwise><xsl:value-of select="floor($CountNum  div $MaxRows)+1"/>
</xsl:otherwise></xsl:choose>
</xsl:variable>
<xsl:if test="$v='1'">
<table class="tableborder5" cellpadding="0" cellspacing="1">
<form action="{$PageStr}" method="post" name="PageForm" target="{$target}">
<tr align="center">
<td class="tabletitle1" title="" style="text-align : right; "><script>var TopicNum=<xsl:value-of select="$Forum_AllTopNum + $CountNum"/>;var star=<xsl:value-of select="$Page"/>;var duhomeset= <xsl:value-of select="$MaxRows"/>;</script><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><xsl:value-of select="$Forum_AllTopNum + $CountNum"/><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
<td class="tabletitle1" title="ҳ"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text>
<xsl:choose>
			<xsl:when test="$Page='1'">
				<xsl:choose>
				<xsl:when test="$CountNum &lt; $MaxRows">
					<xsl:value-of select="$Forum_AllTopNum + $CountNum"/>
				</xsl:when>
				<xsl:otherwise>
				<xsl:value-of select="$Forum_AllTopNum + $MaxRows"/>
				</xsl:otherwise>
				</xsl:choose>
			</xsl:when>
			<xsl:otherwise>
				<xsl:choose>
				<xsl:when test="$pagecount = $Page">
					<xsl:value-of select="$CountNum - ($MaxRows*($Page - 1))"/>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$MaxRows"/>
				</xsl:otherwise>
				</xsl:choose>
			</xsl:otherwise>
</xsl:choose>
<xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text>
</td>
<td class="tabletitle1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><xsl:value-of select="$Page"/>/<xsl:value-of select="$pagecount"/>ҳ<xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
<xsl:if test="$Page='1'">
<td class="tablebody1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><img src="images/pagelist/First.gif" border="0" alt=""/><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
</xsl:if>
<xsl:if test="$Page!='1'">
<td class="tablebody1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><a href="{$PageStr}&amp;{$pv}=1" target="{$target}"><img src="images/pagelist/First.gif" border="0" alt="ҳ"/></a><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
</xsl:if>
<xsl:if test="$Page &gt; $m + 1">
<td class="tablebody1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><a href="{$PageStr}&amp;{$pv}={$Page - $m}" target="{$target}"><img src="images/pagelist/Previous.gif" border="0" alt="{$m}ҳ"/></a><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
</xsl:if>
<xsl:variable name="i"><xsl:choose><xsl:when test="$Page &lt; floor($m div 2) + 1 ">1</xsl:when><xsl:otherwise><xsl:value-of select="$Page - floor($m div 2)"/></xsl:otherwise></xsl:choose></xsl:variable>
<xsl:variable name="Endpage"><xsl:choose><xsl:when test="$i + $m -1 &lt; $pagecount "><xsl:value-of select="$i + $m -1 "/></xsl:when><xsl:otherwise><xsl:value-of select="$pagecount"/></xsl:otherwise></xsl:choose></xsl:variable>
<xsl:call-template name="showonepage">
	<xsl:with-param name="i" select="$i"/>
	<xsl:with-param name="endpage" select="$Endpage"/>
	<xsl:with-param name="target" select="$target"/>
	<xsl:with-param name="PageStr" select="$PageStr"/>
	<xsl:with-param name="pv" select="$pv"/>
	<xsl:with-param name="Page" select="$Page"/>
</xsl:call-template>
<xsl:if test="$pagecount &gt; $m + $Page">
<td class="tablebody1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><a href="{$PageStr}&amp;{$pv}={$m + $Page}"  target="{$target}"><img src="images/pagelist/Next.gif" border="0" alt="{$m}ҳ"/></a><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
</xsl:if>
<xsl:if test="$Page != $pagecount">
<td class="tablebody1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><a href="{$PageStr}&amp;{$pv}={$pagecount}" target="{$target}"><img src="images/pagelist/Last.gif" border="0" alt="βҳ"/></a><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
</xsl:if>
<xsl:if test="$Page = $pagecount">
<td class="tablebody1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><img src="images/pagelist/Last.gif" border="0" alt=""/><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
</xsl:if>
<td class="tablebody1"><input type="text" name="{$pv}" size="1" value="{$Page}" class="PageInput"/><input type="submit" value="GO" name="submit" class="PageInput"/></td>
</tr>
</form>
</table>
</xsl:if>
</xsl:template>
	<xsl:template name="showonepage">
		<xsl:param name="i"/>
		<xsl:param name="endpage"/>
		<xsl:param name="target"/>
		<xsl:param name="PageStr"/>
		<xsl:param name="pv"/>
		<xsl:param name="Page"/>
		<xsl:if test="$Page != $i">
		<td class="tablebody1"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><a href="{$PageStr}&amp;{$pv}={$i}" target="{$target}"><xsl:value-of select="$i"/></a><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
		</xsl:if>
		<xsl:if test="$Page = $i">
		<td class="tablebody2"><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text><font class="normalTextSmall"><u><b><xsl:value-of select="$i"/></b></u></font><xsl:text disable-output-escaping="yes" >&amp;nbsp;</xsl:text></td>
		</xsl:if>
		<xsl:if test="$endpage &gt; $i">
			<xsl:call-template name="showonepage">
				<xsl:with-param name="i" select="$i+1"/>
				<xsl:with-param name="endpage" select="$endpage"/>
				<xsl:with-param name="target" select="$target"/>
				<xsl:with-param name="PageStr" select="$PageStr"/>
				<xsl:with-param name="pv" select="$pv"/>
				<xsl:with-param name="Page" select="$Page"/>
				</xsl:call-template>
		</xsl:if>
	</xsl:template>
<xsl:template name="showvote">
	<!-- ȡƱ-->
	<xsl:variable name="sumvote" select="sum(post/voteinfo/voteitem/@num)" />
	<form action="topicother.asp?t=4&amp;boardid={post/postinfo/@boardid}&amp;voteid={post/voteinfo/@voteid}&amp;id={post/postinfo/@topicid}" method="post">
	<div class="th">
	<div style="height:24px;float:left;text-indent:10px;">ͶƱ<xsl:choose>
		<xsl:when test="post/postinfo/@topicmode=0"><xsl:value-of select="post/postinfo/@title"/></xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 1"><xsl:value-of select="post/postinfo/@title" disable-output-escaping="yes" /></xsl:when>
		<xsl:otherwise><xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 2"><font color="red"><xsl:value-of select="post/postinfo/@title"/></font></xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 3"><font color="blue"><xsl:value-of select="post/postinfo/@title"/></font></xsl:when>
		<xsl:otherwise><xsl:choose>
		<xsl:when test="post/postinfo/@topicmode = 4"><font color="green"><xsl:value-of select="post/postinfo/@title"/></font></xsl:when>
		<xsl:otherwise><xsl:value-of select="post/postinfo/@title"/></xsl:otherwise>
</xsl:choose></xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
<xsl:for-each select="post/voteinfo/voteitem">
<div class="mainbar3" style="height:28px;line-height:28px;text-align :left;text-indent:12px;">
<div style="float:left;width : 40%;"> <div style="float:left;text-indent:24px;"><xsl:value-of select="concat(position(),'.')" /></div>
<div style="float:left;margin :4px 0px 0px 0px; text-indent:0px;">
<xsl:choose>
		<xsl:when test="../@votetype =0"><input type="radio" name="postvote" value="{position()-1}" /></xsl:when>
		<xsl:otherwise><input type="checkbox" name="postvote_{position()-1}" value="{position()-1}" /></xsl:otherwise>
</xsl:choose>
</div>
<div style="float:left;text-indent:6px;"><xsl:value-of select="." disable-output-escaping="yes"/></div>
</div>
<div class="vote" style="width : 55%;text-indent:2px;">
<xsl:choose>
		<xsl:when test="$sumvote=0">
		<div style="float:left;width :40px;padding:10px 2px;"><img src="{/post/setting/@picurl}bar/bar{((position()-1) mod 10) + 1}.gif" width="0" height="8" alt=""/></div>
<div style="float:left;"><b><xsl:value-of select="@num" /> Ʊ</b>0%</div>
		</xsl:when>
		<xsl:otherwise><div style="float:left;width : {floor((@num div $sumvote ) * 80)}%;padding:10px 2px;"><img src="{/post/setting/@picurl}bar/bar{((position()-1) mod 10) + 1}.gif" width="100%" height="8" alt=""/></div>
<div style="float:left;"><b><xsl:value-of select="@num" /> Ʊ</b><xsl:value-of select="floor((@num div $sumvote ) * 1000) div 10" />%</div></xsl:otherwise>
</xsl:choose>
</div>
</div>
</xsl:for-each>
<div class="mainbar2" style="height:32px;line-height:32px;text-align : left;text-indent:24px;">
<div style="float:left;"> 
<xsl:choose>
		<xsl:when test="post/userinfo/@userid=0">δ¼ܲͶƱ</xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="post/voteinfo/@istimeout=1">ͶƱѹ</xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="post/postinfo/@locktopic = 1">ѾͶƱ</xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="post/voteinfo/@alreadyvote=1">ѾͶƱˣɣ</xsl:when>
		<xsl:otherwise><input type="submit" name="Submit" value="Ͷ Ʊ" style="margin : 5px;"/></xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
</div>
<div style="float:left;">  [Ʊ <b><xsl:value-of select="$sumvote" /> Ʊ</b> ͶƱ <b><xsl:value-of select="post/voteinfo/@voters" /></b>  ֹʱ䣺2032-12-29 5:46:08 | <a href="javascript:openScript('viewinfo.asp?t=1&amp;boardid={post/postinfo/@boardid}&amp;id={post/voteinfo/@voteid}',300,500)">鿴ͶƱû</a>]</div>
</div>
<div class="mainbar3" style="height:28px;line-height:28px;text-align : left;text-indent:24px;">
ͶƱƣҪﵽ趨ֵͶƱ <b><xsl:value-of select="post/voteinfo/@uarticle" /></b>  <b><xsl:value-of select="post/voteinfo/@uep" /></b>  <b><xsl:value-of select="post/voteinfo/@ucp" /></b>  Ǯ <b><xsl:value-of select="post/voteinfo/@uwealth" /></b>  <b><xsl:value-of select="post/voteinfo/@upower" /></b>
</div>
</form>
<br />
	</xsl:template>
	<!--Ƿʾж-->
	<xsl:template name="checkgetmoney">
	<fieldset style="border : 1px dotted #ccc;">
	<xsl:choose>
		<xsl:when test="/post/postinfo/@postuserid=/post/userinfo/@userid"><legend style="text-indent:0px;">Ҫ֧ <b><font color="red"><xsl:value-of select="/post/postinfo/@getmoney" /></font></b> ҷɲ鿴ӡ</legend>
<xsl:value-of select="@body" disable-output-escaping="yes"/>
</xsl:when>
		<xsl:otherwise><xsl:choose>
		<xsl:when test="/post/userinfo/@boardmaster =1"><legend style="text-indent:0px;">Ҫ֧ <b><font color="red"><xsl:value-of select="/post/postinfo/@getmoney" /></font></b> ҷɲ鿴ǹԱԿݡ</legend>
<xsl:value-of select="@body" disable-output-escaping="yes"/></xsl:when>
		<xsl:otherwise><xsl:choose>
		<xsl:when test="/post/postinfo/postbuyinfo/postbuyusers = /post/userinfo/@username"><legend style="text-indent:0px;">Ҫ֧ <b><font color="red"><xsl:value-of select="/post/postinfo/@getmoney" /></font></b> ҷɲ鿴Ѿ</legend>
<xsl:value-of select="@body" disable-output-escaping="yes"/></xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="/post/userinfo/@vipgroupuser=1 and /post/postinfo/postbuyinfo/@notvipbuy=1"><legend style="text-indent:0px;">Ҫ֧ <b><font color="red"><xsl:value-of select="/post/postinfo/@getmoney" /></font></b> ҷɲ鿴vipûΪvipû⹺鿴ֱӲ鿴</legend>
<xsl:value-of select="@body" disable-output-escaping="yes"/></xsl:when>
		<xsl:otherwise>
		<xsl:choose>
		<xsl:when test="(/post/postinfo/postbuyinfo/@buyuser =',,' or contains(/post/postinfo/postbuyinfo/@buyuser,concat(',',/post/userinfo/@username,','))) and /post/userinfo/@userid !=0 "><legend style="text-indent:0px;">Ҫ֧ <b><font color="red"><xsl:value-of select="/post/postinfo/@getmoney" /></font></b> ҷɲ鿴Ҫ򷽿ɿݡ</legend>
<input type="button" value="Ҫ鿴ݣ" onclick="location.href='BuyPost.asp?action=buy&amp;boardid={/post/postinfo/@boardid}&amp;id={/post/postinfo/@topicid}&amp;ReplyID={@announceid}&amp;PostTable={/post/postinfo/@posttable}'"/></xsl:when>
		<xsl:otherwise>
		<legend style="text-indent:0px;">Ҫ֧ <b><font color="red"><xsl:value-of select="/post/postinfo/@getmoney" /></font></b> ҷɲ鿴Ҫ򷽿ɿݡ</legend>
<xsl:choose>
		<xsl:when test="/post/userinfo/@userid !=0">¥Թ</xsl:when>
		<xsl:otherwise>δ¼ܹ</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
		</xsl:otherwise>
</xsl:choose>
	</fieldset>
	</xsl:template>
</xsl:stylesheet>